package com.young.springdemo.service.director;

public class ShinePhone extends Decorator {

    public ShinePhone(Phone phone) {
        super(phone);
    }
    public void ring(){
        super.ring();
        shine();
    }

    private void shine() {
        System.out.println("灯光闪烁");
    }
}
